package sdufe.lele.model;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class Broker implements Serializable{
    private Integer brokerid;

    private String brokername;

    private String brokeruserphone;

    public Broker() {
    }

    public Broker(String brokername,String phone) {
        this.brokername = brokername;
        this.brokeruserphone = phone;
    }

    public String getBrokeruserphone() {
        return brokeruserphone;
    }

    public void setBrokeruserphone(String brokeruserphone) {
        this.brokeruserphone = brokeruserphone;
    }

    public Integer getBrokerid() {
        return brokerid;
    }

    public void setBrokerid(Integer brokerid) {
        this.brokerid = brokerid;
    }

    public String getBrokername() {
        return brokername;
    }

    public void setBrokername(String brokername) {
        this.brokername = brokername == null ? null : brokername.trim();
    }
}